package com.hongxun.project.assets.exportdetailed.dxf;

/**
 * Created by xiaoji on 2016/3/28.
 * 图像填充和MPolygon图元 ok
 */
public class Hatch{
    private String id;//句柄
    //圆 组建
    private String circleRx;
    private String circleRy;
    private String circleR;
    private String circleStart="0.0";
    private String circleEnd="360.0";
    private String stroke62="1";//颜色

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Hatch(){

    }

    /**
     * 圆覆盖物构造函数
     * @param circleRx 中心点X坐标
     * @param circleR 覆盖物半径
     * @param circleRy 中心点Y坐标
     */
    public Hatch(String circleRx, String circleRy, String circleR) {
        this.circleRx = Double.parseDouble(circleRx)* Dxf.xishu+"";
        this.circleR = Double.parseDouble(circleR)* Dxf.xishu+"";
        this.circleRy = Double.parseDouble(circleRy)* Dxf.xishu+"";
    }

    public String getCircleRx() {
        return circleRx;
    }

    public void setCircleRx(String circleRx) {
        this.circleRx = circleRx;
    }

    public String getCircleRy() {
        return circleRy;
    }

    public void setCircleRy(String circleRy) {
        this.circleRy = circleRy;
    }

    public String getCircleR() {
        return circleR;
    }

    public void setCircleR(String circleR) {
        this.circleR = circleR;
    }

    public String getCircleStart() {
        return circleStart;
    }

    public void setCircleStart(String circleStart) {
        this.circleStart = circleStart;
    }

    public String getCircleEnd() {
        return circleEnd;
    }

    public void setCircleEnd(String circleEnd) {
        this.circleEnd = circleEnd;
    }

    public String getStroke62() {
        return stroke62;
    }

    public void setStroke62(String stroke62) {
        this.stroke62 = stroke62;
    }
}
